package com.example.mybatisplus.service;

import com.example.mybatisplus.model.domain.AdminInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * ����Ա��Ϣ�� 服务类
 * </p>
 *
 * @author lxp
 * @since 2023-10-16
 */
public interface AdminInfoService extends IService<AdminInfo> {


    List<AdminInfo> getAllUsers();

    List<AdminInfo> findAdminByPageAndLimit(Integer page,Integer limit);

  Integer    addAdmins(com.example.mybatisplus.model.domain.AdminInfo admin);
  

    Integer deleteAdminById(AdminInfo adminId);

    Integer updateAdminById(AdminInfo admin);

    Integer deleteAdmins(String[] ids);


    List<AdminInfo> getAdminInfoByPhone(String admin_phone);


    List<AdminInfo> findAdminByName( String adminName);

    AdminInfo AdminLogin(String adminPhone, String adminPassword);
}
